package com.wlj.demo.entity;

import java.io.Serializable;
 
/**
 * @description 用户实体类
 * @param
 * @return
 * @author wlj
 * @date 2018/8/14 14:09
 */
public class User implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/**用户ID*/
	private String id;
	/**用户名*/
	private String username;
	/**密码*/
	private String password;
	/**姓名*/
	private String sex;
 
	public User() {
	}
 
	public User(String id, String username, String password, String sex) {
		this.id = id;
		this.username = username;
		this.password = password;
		this.sex = sex;
	}
 
	public String getId() {
		return id;
	}
 
	public void setId(String id) {
		this.id = id;
	}
 
	public String getUsername() {
		return username;
	}
 
	public void setUsername(String username) {
		this.username = username;
	}
 
	public String getPassword() {
		return password;
	}
 
	public void setPassword(String password) {
		this.password = password;
	}
 
	public String getSex() {
		return sex;
	}
 
	public void setSex(String name) {
		this.sex = sex;
	}
 
	@Override
	public String toString() {
		return "User{" +
				"id='" + id + '\'' +
				", username='" + username + '\'' +
				", password='" + password + '\'' +
				", sex='" + sex + '\'' +
				'}';
	}
}